﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

#pragma once


#include "IObject.h"
#include "GcmpModelInterface.h"


namespace gcmp
{
    class INotificationEventArgs;

    /// \brief 弱提示事件处理者的接口类，用于处理弱提示的显示
    ///
    /// 提供了弱提示事件处理的接口
    class GCMP_MODEL_INTERFACE_EXPORT INotificationEventHandler : public IObject
    {
        DEFINE_CAST_DERIVED(gcmp::INotificationEventHandler, gcmp::IObject);
    public:

         /// \brief 处理弱提示事件
         /// \param pArgs     弱提示事件的参数
         virtual void On(INotificationEventArgs* pArgs) = 0;
    };
}


